home *** CD-ROM | disk | FTP | other *** search
/ BBS in a Box 15 / BBS in a box XV-1.iso / Files / System 7 / M / Moniker 2.0.1.sit / Moniker 2.0.1 ƒ / Source ƒ / Moniker 2.0.1.h < prev    next >
Encoding:
C/C++ Source or Header  |  1992-12-20  |  1.1 KB  |  30 lines  |  [TEXT/KAHL]

  1. /* Moniker 2.0 */
  2. /* Copyright ©1992 by Michael J. Simms */
  3.  
  4. /* miscellaneous constants */
  5. #define    NIL        0L            /* define nil */
  6. #define    kSleep    10L            /* Sleep time for 'WaitNextEvent'. */
  7.  
  8. /* error constants */
  9. #define    kCantRun    256        /* The conditions are not right to run */
  10. #define    kCantOpen    -1        /* The computer failed to open the rsrc file. */
  11.  
  12. /* resource constants */
  13. #define    kErrorALRTid        128        /* "error" ALRT */
  14. #define    kExplainDLOGid        129        /* "save" ALRT */
  15. #define    kPutFile            130        /* "custom put" DLOG */
  16. #define    kErrorSTRs            128        /* Error string list */
  17. #define    kDefaultStr            1        /* The default error STR# index */
  18. #define    kNoAliasMgrStr        2        /* The can't run without System 7 STR# index */
  19. #define    kCantOpenStr        3        /* The can't open file STR# index */
  20. #define    kAliasRsrcID        0        /*'alis' Resource ID. */
  21. #define    kSaveSTRs            129        /* Save STR */
  22. #define    kSaveStr            1        /* The save STR# index */
  23.  
  24. /* flag constants */
  25. #define    kAliasFlag            32768    /* Alias flag for finder info. */
  26.  
  27. /* trap constants */
  28. #define kTrapMask            0x0800    /* Used with 'GetTrapType' */
  29.  
  30. extern Boolean gNameManually;